<?php

namespace app\admin\extend;

class ExceptionMessage
{
    public static function getMsg(\Throwable $e) {
        return sprintf("%s in %s: %s", $e->getMessage(), $e->getFile(), $e->getLine());
    }
}